import axios from 'axios';
import MX from '@/utils/myAxios';
const baseUrl = 'http://xawn.f3322.net:8012/gen/servicetype';
//获取所有服务类别
export const getStype = () => MX(baseUrl, 'get');
//新增服务
export const addtype = (data) => MX(baseUrl, 'post', data);
//删除服务
export const deletetype = (data) => MX(baseUrl, 'post', data);
//修改服务
export const changetype = (data) => MX(baseUrl, 'post', data);
